# yum install mod_evasive mod_security
# httpd -M | grep -E 'evasive|security'
# vi /etc/httpd/conf.d/mod_security.conf
# vi /etc/httpd/conf.d/mod_evasive.conf
DOSPageCount 2
DOSSiteCount 50
DOSPageInterval 1
DOSBlockingPeriod 10
DOSWhitelist 127.0.0.1
DOSWhitelist 192.168.0.*
# systemctl restart httpd.service